package com.toilet.easyvideofx.api.response;


import java.util.List;

/**
 * 分页响应值
 * @param <T>
 */
public class BasePageResponse<T> {
    /**
     * 页码大小
     */
    private Long pageSize;
    /**
     * 当前页
     */
    private Long currentPage;
    /**
     * 总量值
     */
    private Long total;
    /**
     * 数据集合
     */
    private List<T> data;

    public Long getPageSize() {
        return pageSize;
    }

    public void setPageSize(Long pageSize) {
        this.pageSize = pageSize;
    }

    public Long getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Long currentPage) {
        this.currentPage = currentPage;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
